package com.kaiedu.spring.ioc;

/**
 * @author kai
 * @version 1.0
 * @date 2024/6/12
 * @Description 用于封装/记录bean的信息 【1.scope 2.bean对应的class对象，反射获取】
 */

public class BeanDefinition {

    private Class clazz;
    private String scope;




    public String toString() {
        return "BeanDefinition{" +
                "clazz=" + clazz +
                ", scope='" + scope + '\'' +
                '}';
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }
}
